package com.panfeng.xcloud.boss.provider.assets.dto.request;

import com.panfeng.xcloud.common.core.page.PageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel(value = "查询相关交易对请求")
public class QueryCoinListPageReqDTO extends PageRequest {

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("交易对目的币种")
    private String destinationCoin;

    @ApiModelProperty("交易对源币种")
    private String sourceCoin;

    @ApiModelProperty("币种图标")
    private String url;

    @ApiModelProperty("币种精度")
    private BigDecimal decimal;

    @ApiModelProperty("合约面值")
    private BigDecimal contractCodeValue;

    @ApiModelProperty("交易所类型(0.okex 1.huobi 2.binance)")
    private Integer exchangeType;

    @ApiModelProperty("使用状态(0.开启 1.禁用)")
    private Integer status;

    @ApiModelProperty("多空方向(buy:多单 sell:空单)")
    private String direction;

    @ApiModelProperty("创建时间,查询起始时间")
    private Date createTimeStart;

    @ApiModelProperty("创建时间,查询截止时间")
    private Date createTimeEnd;

    @ApiModelProperty("更新时间,查询起始时间")
    private Date modifyTimeStart;

    @ApiModelProperty("更新时间,查询截止时间")
    private Date modifyTimeEnd;

    @ApiModelProperty("排序属性 1:创建时间 2:更新时间")
    private String sortAttribute;

    @ApiModelProperty("排序类型 升序:ascend 降序:descend")
    private String sortType;
}
